package com.yq.ylmall.dto.activity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yq.ylmall.model.base.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.joda.time.DateTime;

import java.util.Date;


@Data
@ApiModel(description = "营销活动分页查询封装参数")
public class ActivityInfoDto extends BasePage {
    @ApiModelProperty(value = "活动名称")
    private String activityName;
    @ApiModelProperty(value = "活动类型")
    private Integer activityType;
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
}
